AddCSLuaFile("shared.lua")
include("shared.lua")

ENT.Type = "anim"
ENT.Base = "base_anim"
ENT.RenderGroup = RENDERGROUP_BOTH

function ENT:Initialize()
	-- randomly place gmans here
	--for k,v in pairs(MR_Powerups[game.GetMap()]) do
	--	self:SetPos(table.Random(v))
	--end
	self:PhysicsInit( SOLID_VPHYSICS )
	--self:SetMoveType( MOVETYPE_VPHYSICS )
	self:SetSolid( SOLID_VPHYSICS )
	self:SetModel("models/player/gman_high.mdl")

end

function ENT:UpdateTransmitState()
	return TRANSMIT_ALWAYS
end

function ENT:Use( activator, caller )
	if activator:IsPlayer() then
		if activator:HasAbility("Agility", 3) then
			activator:ChatPrint("Welcome aboard!\n")
		else
			activator:ChatPrint("Go train some more! Disgraceful!\n The police department is not desperate enough to hire a fatty.\n")
		end
	end
end